import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { CustomerGoodComponent } from './customer-good.component';

// 如果有详情页、编辑页等，也可以一并导入

const routes: Routes = [
  { path: '', component: CustomerGoodComponent },
  // 例如详情页、编辑页等
  // {
  //   path: 'edit/:id',
  //   component: CustomerGoodEditComponent
  // }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class CustomerGoodRoutingModule {}